<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>
<style>
body {
background:none repeat scroll 0 0 #FFFFFF;
color:#787878;
}

body, button, input, select, textarea, th {
font:12px/1.5 Tahoma,"hiragino sans gb",Helvetica,Arial;
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, fieldset, lengend, button, input, textarea, th, td {
margin:0;
padding:0;
}
h1, h2, h3, h4, h5, h6 {
font-size:100%;
}
a {
color:#056EA1;
}

a {
text-decoration:none;
}
img {
display:block;
}

fieldset, img {
border:medium none;
}
ul, ol, li {
list-style:none outside none;
}
.clearfix {
}
.clearfix:after {
clear:both;
content:".";
display:block;
font-size:0;
height:0;
line-height:0;
visibility:hidden;
width:0;
}
</style>

</head> 
<body> 

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='top2'  iconname='top2' />
<!-- 顶部结束 alltop.html -->



<div class="clearfix" style="margin:0 auto;width:960px;">

	<div  style="width:220px;float:left;margin:0 10px;overflow:hidden;">

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='icon_l10'  iconname='icon_l10' />
<!-- 顶部结束 alltop.html -->

    </div>
	<div  style="width:600px;float:left;margin:0 10px;overflow:hidden;">

        <div style=" height:20px;"></div>

<style>
.mod_toolbar {
height:40px;
overflow:hidden;
}
.mod_sub_tab .current {
background:none repeat scroll 0 0 #056EA1;
color:#FFFFFF;
cursor:default;
font-weight:bold;
padding:0 10px;
}

.mod_sub_tab a {
display:inline-block;
}
.mod_sub_tab a {
display:inline-block;
padding:0 6px;
}
</style>
		
		<div class="mod_toolbar">
			<p class="mod_sub_tab ">
			
			<a class="current" href="?app=company&act=links">友情链接列表</a>
			 | <a href="?app=company&act=linksadd">添加友情链接</a>
			
			
			</p>

		</div>


<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>
<tr>
	<td width="40" align="center" class="bold">排序</td>
	<td class="bold">导航标题</td>
	<td width="40%" class="bold">链接地址</td>
	<td class="bold">链接LOGO</td>
	<td class="bold">操作</td>
</tr>

<!--{foreach($linksdata as $_key => $_value )}-->
<tr>
	<td>
	<input type="text" maxlength="2" style="width: 20px; text-align: center;" value="{$_value.sort}" name="sort"  onchange="ato_url('index.php?app=links&act=lsort&id={$_value.id}',this);">

	</td>
	<td><input type="text" value="{$_value.name}" name="title"  onchange="ato_url('index.php?app=links&act=lname&id={$_value.id}',this);"></td>
	<td><a target="_blank" href="{$_value.url}">{$_value.url}</a></td>
	<td><img width="88" height="31" border="0" src="{$_value.images_dir|picdir}"></td>
	<td>

	                                            <a href="?app=company&act=linksedit&id={$_value.id}" >修改</a>
	                                            <a href="?app=company&act=linksedit&action=del&id={$_value.id}" onClick="return confirm('确认删除此图片？此操作无法恢复！');">删除</a>
	                                  
	</td>
</tr>

 <!--{/foreach}--> 



</tbody>
</table>


	</div>

</div>



<!-- 顶部开始 footer.html -->
<phpscup:icon   htmlname='footer1'  iconname='footer' />
<!-- 顶部结束 footer.html -->


</body>
</html>
